<?php
/**
 * Description of coreView
 *
 * @author ixidor
 */
class coreView extends kseBasic{
        
    public function __construct() {
                
        self::info("Core View Initialized");
        
    }
    
    //templater
    public function displayResult(){
        foreach(Core::get()->nsObject as $Objects){
            foreach ($Objects as $object) {
                Core::get()->nsControllers["coreController"]->template_content = str_replace($object->getTag(), $object->getContent(), Core::get()->nsControllers["coreController"]->template_content);
            }
        }
        
        //output content
        echo Core::get()->nsControllers["coreController"]->template_content;
        
        self::info("Result Displayed");
    }
    
}
?>